Think of Uninstall as a "reset," unless you also remove the code immediately after.
卸载可以看作是“重置”,除非您在卸载之后马上删除代码。
When a system is first booted, or is reset, the processor executes code at a well-known location.
当系统首次引导时,或系统被重置时,处理器会执行一个位于已知位置处的代码。
Now, we can call the reset method to start off each test run to ensure we are going through the initialization code for the singleton object on every test run.
现在,我们可以在每次测试之前调用reset方法,保证我们在每次测试过程中都会先执行singleton对象的初始化代码。
应用推荐